package com.xmtlxx.system.domain.bo;

import com.xmtlxx.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 行政区划管理业务对象 sys_area
 *
 * @author xmtlxx
 * @date 2022-04-28
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("行政区划管理业务对象")
public class SysAreaBo extends BaseEntity {

    /**
     * 唯一标识符，区域编码
     */
    @ApiModelProperty(value = "唯一标识符，区域编码")
    private Long areaId;

    /**
     * 区域名称
     */
    @ApiModelProperty(value = "区域名称")
    private String areaName;

    /**
     * 父级id
     */
    @ApiModelProperty(value = "父级id")
    private Long pid;

    /**
     * 区域简称
     */
    @ApiModelProperty(value = "区域简称")
    private String sname;

    /**
     * 父级ID
     */
    @ApiModelProperty(value = "父级ID")
    private Long parentId;

    /**
     * 祖级列表
     */
    @ApiModelProperty(value = "祖级列表")
    private String ancestors;

    /**
     * 等级
     */
    @ApiModelProperty(value = "等级")
    private Long levels;


}
